package com.example.capsule_netty.interfaces;


import com.example.capsule_netty.bean.MessageBean;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.group.DefaultChannelGroup;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/27 20:25
 */
public interface MessageActionInterface {

    void dealConnectAction(ChannelHandlerContext ctx, MessageBean messageBean);

    void dealChatAction(Channel channel, MessageBean messageBean);

    void dealSignAction(ChannelHandlerContext ctx, MessageBean messageBean);

    void dealClose(ChannelHandlerContext ctx,String imei);

    void dealRegisterAction(ChannelHandlerContext ctx, MessageBean messageBean);

    void dealExceptionAction(String imei);

}
